package test.com.linkgie.galaxyframework.httpproxy.core;

import com.linkgie.galaxyframework.httpproxy.HttpMethod;
import com.linkgie.galaxyframework.httpproxy.annotations.HttpRequest;
import com.linkgie.galaxyframework.httpproxy.annotations.PathParam;
import com.linkgie.galaxyframework.httpproxy.annotations.RequestBody;
import com.linkgie.galaxyframework.httpproxy.annotations.RequestParam;
import com.linkgie.galaxyframework.httpproxy.annotations.ServiceProxy;
import com.linkgie.galaxyframework.httpproxy.converters.BinarySerializeRequestBodyConverter;
import com.linkgie.galaxyframework.httpproxy.converters.BinarySerializeResponseConverter;

@ServiceProxy(path = "/test", defaultRequestBodyConverter = BinarySerializeRequestBodyConverter.class, defaultResponseConverter = BinarySerializeResponseConverter.class)
public interface MultiRequestBodiesWithDefaultConverterTestService {
	@HttpRequest(path = "/content/{id}/multi", method = HttpMethod.POST)
	public TestData multiContentBodies(@PathParam(name = "id") String id, @RequestParam(name = "name") String name,
			@RequestBody TestData data1, @RequestBody TestData data2);

}
